package com.mcol.common.rmi;

import java.rmi.Remote;
import java.rmi.RemoteException;

import com.pizza.hibernate.Adres;
import com.pizza.hibernate.User;

public interface Logowanie extends Remote{
	User zaloguj(String login, String password) throws RemoteException;
	Adres pobierzAdres(int id)throws RemoteException;
	void transfer(Integer id)throws RemoteException;
	
}
